<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>vue的v-for</title>
    <script src="https://cdn.bootcss.com/vue/2.5.17-beta.0/vue.min.js"></script>

</head>
<body>
    <div id="app">
        <!--绑定事件-->
        <ul>
            <li v-for="linkman in linkmanList">
                <span v-for="(v,k,i) in linkman">{{i+1}}......{{k}}.....{{v}}</span>
            </li>
        </ul>
    </div>
<script type="text/javascript">
    new Vue({
        el:"#app",
        data:{
            linkmanList: [
                {
                    name:"张三",
                    age:18,
                    address:"深圳"
                },
                {
                    name:"李四",
                    age:18,
                    address:"北京"

                },
                {
                    name:"王五",
                    age:18,
                    address:"上海"
                }
            ]
        }
    });
</script>

</body>
</html>